package com.hospital.mapper;

import com.hospital.pojo.Ysb;
import com.hospital.pojo.YsbExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YsbMapper {
    long countByExample(YsbExample example);

    int deleteByExample(YsbExample example);

    int deleteByPrimaryKey(Integer docid);

    int insert(Ysb record);

    int insertSelective(Ysb record);

    List<Ysb> selectByExample(YsbExample example);

    Ysb selectByPrimaryKey(Integer docid);

    int updateByExampleSelective(@Param("record") Ysb record, @Param("example") YsbExample example);

    int updateByExample(@Param("record") Ysb record, @Param("example") YsbExample example);

    int updateByPrimaryKeySelective(Ysb record);

    int updateByPrimaryKey(Ysb record);
}